<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>aiju论坛导航</title>
</head>
<link rel="stylesheet" rev="stylesheet" href="{*$sys_scripts_url*}/xtree/xtree.css" type="text/css" media="all" />
<script type="text/javascript" src="{*$sys_scripts_url*}/config.js"></script>
<script type="text/javascript" src="{*$sys_scripts_url*}/xtree/xtree.js"></script>
<style type="text/css">
body{background:#E0ECF9;}

</style>
<body>

<script language="javascript" type="text/javascript">
if (document.getElementById) {
	var tree = new WebFXTree('爱居者社区','{*$app_bbs_url*}');
	tree.setBehavior('classic');

	{* foreach from=$aForum  key = key item=item *}
		{*if $item->fup <1*}
		var a{*$item->fid*} = new WebFXTreeItem('{*$item->name*}');
		tree.add(a{*$item->fid*});
		{*else*}
		var b{*$item->fid*} = new WebFXTreeItem('{*$item->name*}','list{*$item->fid*}.html');
			{* if $item->state eq 'open' *}
				a{*$item->fup*}.add(b{*$item->fid*});
			{*/if *}
		{*/if*}
	{* /foreach *}

	document.write(tree);
}
</script>
</body>
</html>
